com.supermap.ar.areffect.preset
Class StripeLine
- java.lang.Object
-
- com.supermap.ar.areffect.preset.BaseShape
-
- com.supermap.ar.areffect.preset.Shape
-
- com.supermap.ar.areffect.preset.StripeLine
-
public class StripeLine extends Shape
Stripe line
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.supermap.ar.areffect.preset.BaseShape
BaseShape.MatType, BaseShape.Mode
-
-
Constructor Summary
Constructors Constructor and Description StripeLine(BaseShape.MatType matType)Construction method
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddrawStripeLine(java.util.List<Point3D> pointList, float lineWidth)Draws stripe linesvoiddrawStripeLine(Point3D pointA, Point3D pointB, float width)Draws stripe linesAREffectElementgetParentElement()Get the parent nodejava.util.List<Point3D>getStripeLinePoints()Gets the vertex set of linesfloatgetStripeLineRadius()Gets the radius of the rounded angle of stripe linesbooleanisExtension()voidsetExtension(boolean extension)voidsetParentNode(AREffectElement element)Setting the parent nodevoidsetParentNode(EffectView arView)Setting the parent nodevoidsetStripeLineRadius(float radius)Sets the radius of the rounded angle of stripe lines (equal to or bigger than the line width)-
Methods inherited from class com.supermap.ar.areffect.preset.Shape
clear, drawBuildingOneSide, drawBuildingOneSide, drawCube, drawCubeOutline, drawCylinder, drawCylinder, drawCylinder, drawHalfTorus, drawHorizontalPolygon, drawLine, drawLine, drawLine, drawPolygon, drawPolygon, drawPrism, drawRegularPolygon, drawSphere, drawSphere, drawTorus
-
Methods inherited from class com.supermap.ar.areffect.preset.BaseShape
getColor, getColorRGBA, getMetallic, getRadius, getReflectance, getRoughness, getSelectionColor, getShapeMaterial, getShapeStyle, getTextureMap, isRenderable, isSelected, isShadowCaster, isShadowReceiver, select, setColor, setColor, setColor, setMetallic, setRadius, setReflectance, setRenderable, setRoughness, setSelectionColor, setShadowCaster, setShadowReceiver, setShapeStyle, setTextureMap, unSelect, updateMaterial
-
-
-
-
Constructor Detail
-
StripeLine
public StripeLine(BaseShape.MatType matType)
Construction method- Parameters:
matType- texture type (transparent/opaque)
-
-
Method Detail
-
drawStripeLine
public void drawStripeLine(Point3D pointA, Point3D pointB, float width)
Draws stripe lines- Parameters:
pointA-pointB-width-
-
drawStripeLine
public void drawStripeLine(java.util.List<Point3D> pointList, float lineWidth)
Draws stripe lines- Parameters:
pointList- vertex setlineWidth- the width of the line
-
getStripeLinePoints
public java.util.List<Point3D> getStripeLinePoints()
Gets the vertex set of lines- Returns:
-
getStripeLineRadius
public float getStripeLineRadius()
Gets the radius of the rounded angle of stripe lines- Returns:
-
setStripeLineRadius
public void setStripeLineRadius(float radius)
Sets the radius of the rounded angle of stripe lines (equal to or bigger than the line width)- Parameters:
radius-
-
isExtension
public boolean isExtension()
-
setExtension
public void setExtension(boolean extension)
-
setParentNode
public void setParentNode(AREffectElement element)
Setting the parent node- Parameters:
element-
-
setParentNode
public void setParentNode(EffectView arView)
Setting the parent node- Parameters:
arView-
-
getParentElement
public AREffectElement getParentElement()
Get the parent node- Returns:
-
-